Reset calculation after adding row to table